@import './base.css';
/* 基础重置和通用样式 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 根容器适配 */
#app {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
  font-weight: normal;
}

/* 链接样式 */
a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
  padding: 3px;
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}

/* H5端自适应布局 */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  
  #app {
    padding: 0;
  }
}

/* 平板和桌面端布局 */
@media (min-width: 1024px) {
  body {
    display: flex;
    place-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
  }

  #app {
    width: 100%;
    margin: 0;
    padding: 0;
  }
}
